package ManageGameHServer.bean.member.log;

import java.util.Date;

/**
 * 会员信息日志
 * @author lijie1
 */
public class MemberInfoLog {
    private int id;//id
    private String userId;//用户id
    private Date onlineTime;//登录时间
    private Date offlineTime;//登出时间
    private String ip;//登录ip

    /**
     * id
     * @return
     */
    public int getId() {
        return id;
    }

    /**
     * id
     * @param id
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * 用户id
     * @return
     */
    public String getUserId() {
        return userId;
    }

    /**
     * 用户id
     * @param userId
     */
    public void setUserId(String userId) {
        this.userId = userId;
    }

    /**
     * 登录时间
     * @return
     */
    public Date getOnlineTime() {
        return onlineTime;
    }

    /**
     * 登录时间
     * @param onlineTime
     */
    public void setOnlineTime(Date onlineTime) {
        this.onlineTime = onlineTime;
    }

    /**
     * 退出时间
     * @return
     */
    public Date getOfflineTime() {
        return offlineTime;
    }

    /**
     * 退出时间
     * @param offlineTime
     */
    public void setOfflineTime(Date offlineTime) {
        this.offlineTime = offlineTime;
    }

    /**
     * 登录ip
     * @return
     */
    public String getIp() {
        return ip;
    }

    /**
     * 登录ip
     * @param ip
     */
    public void setIp(String ip) {
        this.ip = ip;
    }
}
